2024-03-19 18:15:15,769 [ 325602 ] INFO : ClickHouse root is not set. Will use /home/ubuntu/_work/_temp/test/git-repo-copy (runner:41, check_args_and_update_paths) 2024-03-19 18:15:15,769 [ 325602 ] INFO : Cases dir is not set. Will use /home/ubuntu/_work/_temp/test/git-repo-copy/tests/integration (runner:89, check_args_and_update_paths) 2024-03-19 18:15:15,769 [ 325602 ] INFO : src dir is not set. Will use /home/ubuntu/_work/_temp/test/git-repo-copy/src (runner:96, check_args_and_update_paths) 2024-03-19 18:15:15,769 [ 325602 ] INFO : base_configs_dir: /home/ubuntu/_work/_temp/test/git-repo-copy/programs/server, binary: /home/ubuntu/_work/_temp/test/build/clickhouse, cases_dir: /home/ubuntu/_work/_temp/test/git-repo-copy/tests/integration (runner:98, check_args_and_update_paths) clickhouse_integration_tests_volume WARNING: Ignoring custom format, because both --format and --quiet are set. Running pytest container as: 'docker run --rm --name clickhouse_integration_tests_bhys94 --privileged --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-odbc-bridge:/clickhouse-odbc-bridge --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-library-bridge:/clickhouse-library-bridge --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/src/Server/grpc_protos:/ClickHouse/src/Server/grpc_protos --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e XTABLES_LOCKFILE=/run/host/xtables.lock -e PYTHONUNBUFFERED=1 -e DOCKER_DOTNET_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_HELPER_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_BASE_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_KERBERIZED_HADOOP_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_KERBEROS_KDC_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_JAVA_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_JS_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_PHP_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e PYTEST_OPTS='--dist=loadfile -n 10 -rfEps --run-id=0 --color=no --durations=0 test_storage_s3/test.py::test_create_new_files_on_insert test_storage_s3/test.py::test_custom_auth_headers test_storage_s3/test.py::test_custom_auth_headers_exclusion test_storage_s3/test.py::test_empty_file test_storage_s3/test.py::test_empty_put[minio] test_storage_s3/test.py::test_environment_credentials test_storage_s3/test.py::test_format_detection test_storage_s3/test.py::test_get_file_with_special[plus] test_storage_s3/test.py::test_get_file_with_special[space] test_storage_s3/test.py::test_get_path_with_special[plus2] test_storage_s3/test.py::test_get_path_with_special[plus] test_storage_s3/test.py::test_get_path_with_special[space] test_storage_s3/test.py::test_infinite_redirect test_storage_s3/test.py::test_insert_select_schema_inference test_storage_s3/test.py::test_insert_with_path_with_globs test_storage_s3/test.py::test_multipart[negative] test_storage_s3/test.py::test_multipart[positive] test_storage_s3/test.py::test_overwrite test_storage_s3/test.py::test_parallel_reading_with_memory_limit test_storage_s3/test.py::test_partition_by test_storage_s3/test.py::test_partition_by_const_column test_storage_s3/test.py::test_partition_by_string_column test_storage_s3/test.py::test_predefined_connection_configuration test_storage_s3/test.py::test_put[auth_positive] test_storage_s3/test.py::test_put[auto] test_storage_s3/test.py::test_put[brotli] test_storage_s3/test.py::test_put[deflate] test_storage_s3/test.py::test_put[gzip] test_storage_s3/test.py::test_put[positive] test_storage_s3/test.py::test_put[xz] test_storage_s3/test.py::test_put[zstd] test_storage_s3/test.py::test_put_csv[auth_positive] test_storage_s3/test.py::test_put_csv[negative] test_storage_s3/test.py::test_put_csv[positive] test_storage_s3/test.py::test_put_get_with_globs test_storage_s3/test.py::test_put_get_with_redirect test_storage_s3/test.py::test_put_with_zero_redirect test_storage_s3/test.py::test_remote_host_filter test_storage_s3/test.py::test_s3_glob_scheherazade test_storage_s3/test.py::test_s3_list_objects_failure test_storage_s3/test.py::test_s3_schema_inference test_storage_s3/test.py::test_schema_inference_cache test_storage_s3/test.py::test_schema_inference_from_globs test_storage_s3/test.py::test_seekable_formats test_storage_s3/test.py::test_seekable_formats_url test_storage_s3/test.py::test_select_columns test_storage_s3/test.py::test_signatures test_storage_s3/test.py::test_storage_s3_get_gzip[bin] test_storage_s3/test.py::test_storage_s3_get_gzip[gz] test_storage_s3/test.py::test_storage_s3_get_unstable test_storage_s3/test.py::test_storage_s3_put_gzip[bin] test_storage_s3/test.py::test_storage_s3_put_gzip[gz] test_storage_s3/test.py::test_storage_s3_put_uncompressed test_storage_s3/test.py::test_truncate_table test_storage_s3/test.py::test_wrong_format_usage test_storage_s3/test.py::test_wrong_s3_syntax test_storage_url/test.py::test_file_formats[CSV] test_storage_url/test.py::test_file_formats[JSONEachRow] test_storage_url/test.py::test_file_formats[Parquet] test_storage_url/test.py::test_file_formats[TSV] test_storage_url/test.py::test_partition_by test_storage_url/test.py::test_table_function_url_access_rights test_structured_logging_json/test.py::test_structured_logging_json_format test_system_logs_comment/test.py::test_system_logs_comment test_system_metrics/test.py::test_metrics_storage_buffer_size test_tcp_handler_http_responses/test_case.py::test_request_to_http_full_instance test_tcp_handler_http_responses/test_case.py::test_request_to_http_less_instance test_timezone_config/test.py::test_check_timezone_config test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort test_timezone_config/test.py::test_overflow_toDate test_timezone_config/test.py::test_overflow_toDate32 test_timezone_config/test.py::test_overflow_toDateTime test_tlsv1_3/test.py::test_create_user test_tlsv1_3/test.py::test_https test_tlsv1_3/test.py::test_https_non_ssl_auth test_tlsv1_3/test.py::test_https_wrong_cert test_zookeeper_config/test.py::test_chroot_with_different_root test_zookeeper_config/test.py::test_chroot_with_same_root -vvv' altinityinfra/integration-tests-runner:0-0a8ac3b092733da37e3e2a0079c486938a36790d '. Start tests ============================= test session starts ============================== platform linux -- Python 3.8.10, pytest-8.0.2, pluggy-1.4.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /ClickHouse/tests/integration configfile: pytest.ini plugins: repeat-0.9.3, xdist-3.5.0, random-0.2, timeout-2.2.0, order-1.0.0 timeout: 900.0s timeout method: signal timeout func_only: False created: 10/10 workers 10 workers [78 items] scheduling tests via LoadFileScheduling test_timezone_config/test.py::test_check_timezone_config test_system_metrics/test.py::test_metrics_storage_buffer_size test_storage_url/test.py::test_file_formats[CSV] test_tlsv1_3/test.py::test_create_user test_tcp_handler_http_responses/test_case.py::test_request_to_http_full_instance test_storage_s3/test.py::test_create_new_files_on_insert test_zookeeper_config/test.py::test_chroot_with_different_root test_system_logs_comment/test.py::test_system_logs_comment test_structured_logging_json/test.py::test_structured_logging_json_format [gw0] [ 1%] PASSED test_timezone_config/test.py::test_check_timezone_config test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort [gw4] [ 2%] FAILED test_tlsv1_3/test.py::test_create_user test_tlsv1_3/test.py::test_https [gw4] [ 3%] FAILED test_tlsv1_3/test.py::test_https test_tlsv1_3/test.py::test_https_non_ssl_auth [gw4] [ 5%] FAILED test_tlsv1_3/test.py::test_https_non_ssl_auth test_tlsv1_3/test.py::test_https_wrong_cert [gw0] [ 6%] PASSED test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort [gw4] [ 7%] FAILED test_tlsv1_3/test.py::test_https_wrong_cert test_timezone_config/test.py::test_overflow_toDate [gw3] [ 8%] PASSED test_tcp_handler_http_responses/test_case.py::test_request_to_http_full_instance test_tcp_handler_http_responses/test_case.py::test_request_to_http_less_instance [gw3] [ 10%] PASSED test_tcp_handler_http_responses/test_case.py::test_request_to_http_less_instance [gw0] [ 11%] PASSED test_timezone_config/test.py::test_overflow_toDate test_timezone_config/test.py::test_overflow_toDate32 [gw6] [ 12%] PASSED test_structured_logging_json/test.py::test_structured_logging_json_format [gw0] [ 14%] PASSED test_timezone_config/test.py::test_overflow_toDate32 test_timezone_config/test.py::test_overflow_toDateTime [gw1] [ 15%] PASSED test_storage_url/test.py::test_file_formats[CSV] test_storage_url/test.py::test_file_formats[JSONEachRow] [gw0] [ 16%] PASSED test_timezone_config/test.py::test_overflow_toDateTime [gw1] [ 17%] PASSED test_storage_url/test.py::test_file_formats[JSONEachRow] test_storage_url/test.py::test_file_formats[Parquet] [gw7] [ 19%] PASSED test_system_logs_comment/test.py::test_system_logs_comment [gw8] [ 20%] PASSED test_system_metrics/test.py::test_metrics_storage_buffer_size [gw1] [ 21%] PASSED test_storage_url/test.py::test_file_formats[Parquet] test_storage_url/test.py::test_file_formats[TSV] [gw1] [ 23%] PASSED test_storage_url/test.py::test_file_formats[TSV] test_storage_url/test.py::test_partition_by [gw1] [ 24%] PASSED test_storage_url/test.py::test_partition_by test_storage_url/test.py::test_table_function_url_access_rights [gw1] [ 25%] PASSED test_storage_url/test.py::test_table_function_url_access_rights [gw5] [ 26%] PASSED test_zookeeper_config/test.py::test_chroot_with_different_root test_zookeeper_config/test.py::test_chroot_with_same_root [gw5] [ 28%] PASSED test_zookeeper_config/test.py::test_chroot_with_same_root [gw2] [ 29%] PASSED test_storage_s3/test.py::test_create_new_files_on_insert test_storage_s3/test.py::test_custom_auth_headers [gw2] [ 30%] PASSED test_storage_s3/test.py::test_custom_auth_headers test_storage_s3/test.py::test_custom_auth_headers_exclusion [gw2] [ 32%] PASSED test_storage_s3/test.py::test_custom_auth_headers_exclusion test_storage_s3/test.py::test_empty_file [gw2] [ 33%] PASSED test_storage_s3/test.py::test_empty_file test_storage_s3/test.py::test_empty_put[minio] [gw2] [ 34%] PASSED test_storage_s3/test.py::test_empty_put[minio] test_storage_s3/test.py::test_environment_credentials [gw2] [ 35%] PASSED test_storage_s3/test.py::test_environment_credentials test_storage_s3/test.py::test_format_detection [gw2] [ 37%] PASSED test_storage_s3/test.py::test_format_detection test_storage_s3/test.py::test_get_file_with_special[plus] [gw2] [ 38%] PASSED test_storage_s3/test.py::test_get_file_with_special[plus] test_storage_s3/test.py::test_get_file_with_special[space] [gw2] [ 39%] PASSED test_storage_s3/test.py::test_get_file_with_special[space] test_storage_s3/test.py::test_get_path_with_special[plus2] [gw2] [ 41%] PASSED test_storage_s3/test.py::test_get_path_with_special[plus2] test_storage_s3/test.py::test_get_path_with_special[plus] [gw2] [ 42%] PASSED test_storage_s3/test.py::test_get_path_with_special[plus] test_storage_s3/test.py::test_get_path_with_special[space] [gw2] [ 43%] PASSED test_storage_s3/test.py::test_get_path_with_special[space] test_storage_s3/test.py::test_infinite_redirect [gw2] [ 44%] PASSED test_storage_s3/test.py::test_infinite_redirect test_storage_s3/test.py::test_insert_select_schema_inference [gw2] [ 46%] PASSED test_storage_s3/test.py::test_insert_select_schema_inference test_storage_s3/test.py::test_insert_with_path_with_globs [gw2] [ 47%] PASSED test_storage_s3/test.py::test_insert_with_path_with_globs test_storage_s3/test.py::test_multipart[negative] [gw2] [ 48%] PASSED test_storage_s3/test.py::test_multipart[negative] test_storage_s3/test.py::test_multipart[positive] [gw2] [ 50%] PASSED test_storage_s3/test.py::test_multipart[positive] test_storage_s3/test.py::test_overwrite [gw2] [ 51%] PASSED test_storage_s3/test.py::test_overwrite test_storage_s3/test.py::test_parallel_reading_with_memory_limit [gw2] [ 52%] PASSED test_storage_s3/test.py::test_parallel_reading_with_memory_limit test_storage_s3/test.py::test_partition_by [gw2] [ 53%] PASSED test_storage_s3/test.py::test_partition_by test_storage_s3/test.py::test_partition_by_const_column [gw2] [ 55%] PASSED test_storage_s3/test.py::test_partition_by_const_column test_storage_s3/test.py::test_partition_by_string_column [gw2] [ 56%] PASSED test_storage_s3/test.py::test_partition_by_string_column test_storage_s3/test.py::test_predefined_connection_configuration [gw2] [ 57%] PASSED test_storage_s3/test.py::test_predefined_connection_configuration test_storage_s3/test.py::test_put[auth_positive] [gw2] [ 58%] PASSED test_storage_s3/test.py::test_put[auth_positive] test_storage_s3/test.py::test_put[auto] [gw2] [ 60%] PASSED test_storage_s3/test.py::test_put[auto] test_storage_s3/test.py::test_put[brotli] [gw2] [ 61%] PASSED test_storage_s3/test.py::test_put[brotli] test_storage_s3/test.py::test_put[deflate] [gw2] [ 62%] PASSED test_storage_s3/test.py::test_put[deflate] test_storage_s3/test.py::test_put[gzip] [gw2] [ 64%] PASSED test_storage_s3/test.py::test_put[gzip] test_storage_s3/test.py::test_put[positive] [gw2] [ 65%] PASSED test_storage_s3/test.py::test_put[positive] test_storage_s3/test.py::test_put[xz] [gw2] [ 66%] PASSED test_storage_s3/test.py::test_put[xz] test_storage_s3/test.py::test_put[zstd] [gw2] [ 67%] PASSED test_storage_s3/test.py::test_put[zstd] test_storage_s3/test.py::test_put_csv[auth_positive] [gw2] [ 69%] PASSED test_storage_s3/test.py::test_put_csv[auth_positive] test_storage_s3/test.py::test_put_csv[negative] [gw2] [ 70%] PASSED test_storage_s3/test.py::test_put_csv[negative] test_storage_s3/test.py::test_put_csv[positive] [gw2] [ 71%] PASSED test_storage_s3/test.py::test_put_csv[positive] test_storage_s3/test.py::test_put_get_with_globs [gw2] [ 73%] PASSED test_storage_s3/test.py::test_put_get_with_globs test_storage_s3/test.py::test_put_get_with_redirect [gw2] [ 74%] PASSED test_storage_s3/test.py::test_put_get_with_redirect test_storage_s3/test.py::test_put_with_zero_redirect [gw2] [ 75%] PASSED test_storage_s3/test.py::test_put_with_zero_redirect test_storage_s3/test.py::test_remote_host_filter [gw2] [ 76%] PASSED test_storage_s3/test.py::test_remote_host_filter test_storage_s3/test.py::test_s3_glob_scheherazade [gw2] [ 78%] PASSED test_storage_s3/test.py::test_s3_glob_scheherazade test_storage_s3/test.py::test_s3_list_objects_failure [gw2] [ 79%] PASSED test_storage_s3/test.py::test_s3_list_objects_failure test_storage_s3/test.py::test_s3_schema_inference [gw2] [ 80%] PASSED test_storage_s3/test.py::test_s3_schema_inference test_storage_s3/test.py::test_schema_inference_cache [gw2] [ 82%] PASSED test_storage_s3/test.py::test_schema_inference_cache test_storage_s3/test.py::test_schema_inference_from_globs [gw2] [ 83%] PASSED test_storage_s3/test.py::test_schema_inference_from_globs test_storage_s3/test.py::test_seekable_formats [gw2] [ 84%] PASSED test_storage_s3/test.py::test_seekable_formats test_storage_s3/test.py::test_seekable_formats_url [gw2] [ 85%] PASSED test_storage_s3/test.py::test_seekable_formats_url test_storage_s3/test.py::test_select_columns [gw2] [ 87%] PASSED test_storage_s3/test.py::test_select_columns test_storage_s3/test.py::test_signatures [gw2] [ 88%] PASSED test_storage_s3/test.py::test_signatures test_storage_s3/test.py::test_storage_s3_get_gzip[bin] [gw2] [ 89%] PASSED test_storage_s3/test.py::test_storage_s3_get_gzip[bin] test_storage_s3/test.py::test_storage_s3_get_gzip[gz] [gw2] [ 91%] PASSED test_storage_s3/test.py::test_storage_s3_get_gzip[gz] test_storage_s3/test.py::test_storage_s3_get_unstable [gw2] [ 92%] PASSED test_storage_s3/test.py::test_storage_s3_get_unstable test_storage_s3/test.py::test_storage_s3_put_gzip[bin] [gw2] [ 93%] PASSED test_storage_s3/test.py::test_storage_s3_put_gzip[bin] test_storage_s3/test.py::test_storage_s3_put_gzip[gz] [gw2] [ 94%] PASSED test_storage_s3/test.py::test_storage_s3_put_gzip[gz] test_storage_s3/test.py::test_storage_s3_put_uncompressed [gw2] [ 96%] PASSED test_storage_s3/test.py::test_storage_s3_put_uncompressed test_storage_s3/test.py::test_truncate_table [gw2] [ 97%] PASSED test_storage_s3/test.py::test_truncate_table test_storage_s3/test.py::test_wrong_format_usage [gw2] [ 98%] PASSED test_storage_s3/test.py::test_wrong_format_usage test_storage_s3/test.py::test_wrong_s3_syntax [gw2] [100%] PASSED test_storage_s3/test.py::test_wrong_s3_syntax =================================== FAILURES =================================== _______________________________ test_create_user _______________________________ [gw4] linux -- Python 3.8.10 /usr/bin/python3 self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.4.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: > h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) /usr/lib/python3.8/urllib/request.py:1354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/http/client.py:1256: in request self._send_request(method, url, body, headers, encode_chunked) /usr/lib/python3.8/http/client.py:1302: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1251: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1011: in _send_output self.send(msg) /usr/lib/python3.8/http/client.py:951: in send self.connect() /usr/lib/python3.8/http/client.py:1425: in connect self.sock = self._context.wrap_socket(self.sock, helpers/ssl_context.py:12: in wrap_socket return super().wrap_socket(sock, *args, **kwargs) /usr/lib/python3.8/ssl.py:500: in wrap_socket return self.sslsocket_class._create( /usr/lib/python3.8/ssl.py:1069: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1131) /usr/lib/python3.8/ssl.py:1338: SSLEOFError During handling of the above exception, another exception occurred: def test_create_user(): instance.query("CREATE USER emma IDENTIFIED WITH ssl_certificate CN 'client3'") > assert ( execute_query_https("SELECT currentUser()", user="emma", cert_name="client3") == "emma\n" ) test_tlsv1_3/test.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_tlsv1_3/test.py:64: in execute_query_https response = urllib.request.urlopen( /usr/lib/python3.8/urllib/request.py:222: in urlopen return opener.open(url, data, timeout) /usr/lib/python3.8/urllib/request.py:525: in open response = self._open(req, data) /usr/lib/python3.8/urllib/request.py:542: in _open result = self._call_chain(self.handle_open, protocol, protocol + /usr/lib/python3.8/urllib/request.py:502: in _call_chain result = func(*args) /usr/lib/python3.8/urllib/request.py:1397: in https_open return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.4.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) except OSError as err: # timeout error > raise URLError(err) E urllib.error.URLError: /usr/lib/python3.8/urllib/request.py:1357: URLError ---------------------------- Captured stdout setup ----------------------------- Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml ------------------------------ Captured log setup ------------------------------ 2024-03-19 18:15:20 [ 406 ] DEBUG : Command:['docker ps | wc -l'] (cluster.py:97, run_and_check) 2024-03-19 18:15:20 [ 406 ] DEBUG : Stdout:1 (cluster.py:105, run_and_check) 2024-03-19 18:15:20 [ 406 ] DEBUG : No running containers (conftest.py:44, cleanup_environment) 2024-03-19 18:15:20 [ 406 ] INFO : Running tests in /ClickHouse/tests/integration/test_tlsv1_3/test.py (cluster.py:2508, start) 2024-03-19 18:15:20 [ 406 ] DEBUG : Cluster start called. is_up=False (cluster.py:2515, start) 2024-03-19 18:15:20 [ 406 ] DEBUG : Docker networks for project roottesttlsv13 are NETWORK ID NAME DRIVER SCOPE (cluster.py:633, print_all_docker_pieces) 2024-03-19 18:15:20 [ 406 ] DEBUG : Docker containers for project roottesttlsv13 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:641, print_all_docker_pieces) 2024-03-19 18:15:20 [ 406 ] DEBUG : Docker volumes for project roottesttlsv13 are DRIVER VOLUME NAME (cluster.py:649, print_all_docker_pieces) 2024-03-19 18:15:20 [ 406 ] DEBUG : Cleanup called (cluster.py:654, cleanup) 2024-03-19 18:15:20 [ 406 ] DEBUG : Docker networks for project roottesttlsv13 are NETWORK ID NAME DRIVER SCOPE (cluster.py:633, print_all_docker_pieces) 2024-03-19 18:15:20 [ 406 ] DEBUG : Docker containers for project roottesttlsv13 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:641, print_all_docker_pieces) 2024-03-19 18:15:20 [ 406 ] DEBUG : Docker volumes for project roottesttlsv13 are DRIVER VOLUME NAME (cluster.py:649, print_all_docker_pieces) 2024-03-19 18:15:20 [ 406 ] DEBUG : Command:docker container list --all --filter name='^/roottesttlsv13_.*_1$' --format '{{.ID}}:{{.Names}}' (cluster.py:97, run_and_check) 2024-03-19 18:15:20 [ 406 ] DEBUG : Unstopped containers: {} (cluster.py:668, cleanup) 2024-03-19 18:15:20 [ 406 ] DEBUG : No running containers for project: roottesttlsv13 (cluster.py:682, cleanup) 2024-03-19 18:15:20 [ 406 ] DEBUG : Trying to prune unused networks... (cluster.py:688, cleanup) 2024-03-19 18:15:20 [ 406 ] DEBUG : Trying to prune unused images... (cluster.py:704, cleanup) 2024-03-19 18:15:20 [ 406 ] DEBUG : Command:['docker', 'image', 'prune', '-f'] (cluster.py:97, run_and_check) 2024-03-19 18:15:20 [ 406 ] DEBUG : Stderr:Error response from daemon: a prune operation is already running (cluster.py:107, run_and_check) 2024-03-19 18:15:20 [ 406 ] DEBUG : Exitcode:1 (cluster.py:109, run_and_check) 2024-03-19 18:15:20 [ 406 ] DEBUG : Trying to prune unused volumes... (cluster.py:713, cleanup) 2024-03-19 18:15:20 [ 406 ] DEBUG : Command:['docker volume ls | wc -l'] (cluster.py:97, run_and_check) 2024-03-19 18:15:20 [ 406 ] DEBUG : Stdout:1 (cluster.py:105, run_and_check) 2024-03-19 18:15:20 [ 406 ] DEBUG : Setup directory for instance: node (cluster.py:2528, start) 2024-03-19 18:15:20 [ 406 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4146, create_dir) 2024-03-19 18:15:20 [ 406 ] DEBUG : Create directory for common tests configuration (cluster.py:4151, create_dir) 2024-03-19 18:15:20 [ 406 ] DEBUG : Copy common configuration from helpers (cluster.py:4171, create_dir) 2024-03-19 18:15:20 [ 406 ] DEBUG : Generate and write macros file (cluster.py:4184, create_dir) 2024-03-19 18:15:20 [ 406 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_tlsv1_3/configs/ssl_config.xml', '/ClickHouse/tests/integration/test_tlsv1_3/certs/server-key.pem', '/ClickHouse/tests/integration/test_tlsv1_3/certs/server-cert.pem', '/ClickHouse/tests/integration/test_tlsv1_3/certs/ca-cert.pem', '/ClickHouse/tests/integration/test_tlsv1_3/certs/dhparam4096.pem'] to /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/configs/config.d (cluster.py:4215, create_dir) 2024-03-19 18:15:20 [ 406 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/database (cluster.py:4232, create_dir) 2024-03-19 18:15:20 [ 406 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/logs (cluster.py:4243, create_dir) 2024-03-19 18:15:20 [ 406 ] DEBUG : Entrypoint cmd: ["clickhouse", "server", "--config-file=/etc/clickhouse-server/config.xml", "--log-file=/var/log/clickhouse-server/clickhouse-server.log", "--errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log"] (cluster.py:4319, create_dir) 2024-03-19 18:15:20 [ 406 ] DEBUG : Env {'TSAN_OPTIONS': 'second_deadlock_stack=1', 'ASAN_OPTIONS': 'use_sigaltstack=0', 'CLICKHOUSE_WATCHDOG_ENABLE': '0', 'CLICKHOUSE_NATS_TLS_SECURE': '0', 'LLVM_PROFILE_FILE': '/var/lib/clickhouse/server_%h_%p_%m.profraw'} stored in /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env (cluster.py:70, _create_env_file) 2024-03-19 18:15:20 [ 406 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2024-03-19 18:15:20 [ 406 ] DEBUG : No config file found (config.py:28, find_config_file) 2024-03-19 18:15:20 [ 406 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2024-03-19 18:15:20 [ 406 ] DEBUG : No config file found (config.py:28, find_config_file) 2024-03-19 18:15:20 [ 406 ] DEBUG : http://localhost:None "GET /version HTTP/1.1" 200 824 (connectionpool.py:429, _make_request) 2024-03-19 18:15:20 [ 406 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env', '--project-name', 'roottesttlsv13', '--file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/docker-compose.yml', 'pull'] (cluster.py:97, run_and_check) 2024-03-19 18:15:32 [ 406 ] DEBUG : Stderr:Pulling node ... (cluster.py:107, run_and_check) 2024-03-19 18:15:32 [ 406 ] DEBUG : Stderr:Pulling node ... pulling from altinityinfra/integr... (cluster.py:107, run_and_check) 2024-03-19 18:15:32 [ 406 ] DEBUG : Stderr:Pulling node ... digest: sha256:5a6b09e905506d4aea... (cluster.py:107, run_and_check) 2024-03-19 18:15:32 [ 406 ] DEBUG : Stderr:Pulling node ... status: image is up to date for a... (cluster.py:107, run_and_check) 2024-03-19 18:15:32 [ 406 ] DEBUG : Stderr:Pulling node ... done (cluster.py:107, run_and_check) 2024-03-19 18:15:32 [ 406 ] DEBUG : ('Trying to create ClickHouse instance by command %s', 'docker-compose --env-file /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env --project-name roottesttlsv13 --file /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/docker-compose.yml up -d --no-recreate') (cluster.py:2852, start) 2024-03-19 18:15:32 [ 406 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env', '--project-name', 'roottesttlsv13', '--file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/docker-compose.yml', 'up', '-d', '--no-recreate'] (cluster.py:97, run_and_check) 2024-03-19 18:15:33 [ 406 ] DEBUG : Stderr:Creating network "roottesttlsv13_default" with the default driver (cluster.py:107, run_and_check) 2024-03-19 18:15:33 [ 406 ] DEBUG : Stderr:Creating roottesttlsv13_node_1 ... (cluster.py:107, run_and_check) 2024-03-19 18:15:33 [ 406 ] DEBUG : Stderr:Creating roottesttlsv13_node_1 ... done (cluster.py:107, run_and_check) 2024-03-19 18:15:33 [ 406 ] DEBUG : ClickHouse instance created (cluster.py:2860, start) 2024-03-19 18:15:33 [ 406 ] DEBUG : get_instance_ip instance_name=node (cluster.py:1851, get_instance_ip) 2024-03-19 18:15:33 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/roottesttlsv13_node_1/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:33 [ 406 ] DEBUG : Waiting for ClickHouse start in node, ip: 172.16.4.2... (cluster.py:2867, start) 2024-03-19 18:15:33 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/roottesttlsv13_node_1/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:33 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:33 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:33 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:33 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:33 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:33 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:33 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:33 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:33 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:34 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:34 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:34 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:34 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:34 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:34 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:34 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:34 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:34 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:34 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:35 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:35 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:35 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:35 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:35 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:35 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:35 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:35 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:35 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:35 [ 406 ] DEBUG : http://localhost:None "GET /v1.44/containers/cd0ef3e764d135fe3fe1ea45b074aa9f1b725e86e566e25157b8a9ad0a55def3/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 18:15:35 [ 406 ] DEBUG : ClickHouse node started (cluster.py:2871, start) ------------------------------ Captured log call ------------------------------- 2024-03-19 18:15:35 [ 406 ] DEBUG : Executing query CREATE USER emma IDENTIFIED WITH ssl_certificate CN 'client3' on node (cluster.py:3300, query) __________________________________ test_https __________________________________ [gw4] linux -- Python 3.8.10 /usr/bin/python3 self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.4.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: > h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) /usr/lib/python3.8/urllib/request.py:1354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/http/client.py:1256: in request self._send_request(method, url, body, headers, encode_chunked) /usr/lib/python3.8/http/client.py:1302: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1251: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1011: in _send_output self.send(msg) /usr/lib/python3.8/http/client.py:951: in send self.connect() /usr/lib/python3.8/http/client.py:1425: in connect self.sock = self._context.wrap_socket(self.sock, helpers/ssl_context.py:12: in wrap_socket return super().wrap_socket(sock, *args, **kwargs) /usr/lib/python3.8/ssl.py:500: in wrap_socket return self.sslsocket_class._create( /usr/lib/python3.8/ssl.py:1069: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1131) /usr/lib/python3.8/ssl.py:1338: SSLEOFError During handling of the above exception, another exception occurred: def test_https(): > assert ( execute_query_https("SELECT currentUser()", user="john", cert_name="client1") == "john\n" ) test_tlsv1_3/test.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_tlsv1_3/test.py:64: in execute_query_https response = urllib.request.urlopen( /usr/lib/python3.8/urllib/request.py:222: in urlopen return opener.open(url, data, timeout) /usr/lib/python3.8/urllib/request.py:525: in open response = self._open(req, data) /usr/lib/python3.8/urllib/request.py:542: in _open result = self._call_chain(self.handle_open, protocol, protocol + /usr/lib/python3.8/urllib/request.py:502: in _call_chain result = func(*args) /usr/lib/python3.8/urllib/request.py:1397: in https_open return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.4.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) except OSError as err: # timeout error > raise URLError(err) E urllib.error.URLError: /usr/lib/python3.8/urllib/request.py:1357: URLError ___________________________ test_https_non_ssl_auth ____________________________ [gw4] linux -- Python 3.8.10 /usr/bin/python3 self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.4.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: > h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) /usr/lib/python3.8/urllib/request.py:1354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/http/client.py:1256: in request self._send_request(method, url, body, headers, encode_chunked) /usr/lib/python3.8/http/client.py:1302: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1251: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1011: in _send_output self.send(msg) /usr/lib/python3.8/http/client.py:951: in send self.connect() /usr/lib/python3.8/http/client.py:1425: in connect self.sock = self._context.wrap_socket(self.sock, helpers/ssl_context.py:12: in wrap_socket return super().wrap_socket(sock, *args, **kwargs) /usr/lib/python3.8/ssl.py:500: in wrap_socket return self.sslsocket_class._create( /usr/lib/python3.8/ssl.py:1069: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1131) /usr/lib/python3.8/ssl.py:1338: SSLEOFError During handling of the above exception, another exception occurred: def test_https_non_ssl_auth(): # Users with non-SSL authentication are allowed, in this case we can skip sending a client certificate at all (because "verificationMode" is set to "relaxed"). # assert execute_query_https("SELECT currentUser()", user="peter", enable_ssl_auth=False) == "peter\n" > assert ( execute_query_https( "SELECT currentUser()", user="jane", enable_ssl_auth=False, password="qwe123", ) == "jane\n" ) test_tlsv1_3/test.py:114: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_tlsv1_3/test.py:64: in execute_query_https response = urllib.request.urlopen( /usr/lib/python3.8/urllib/request.py:222: in urlopen return opener.open(url, data, timeout) /usr/lib/python3.8/urllib/request.py:525: in open response = self._open(req, data) /usr/lib/python3.8/urllib/request.py:542: in _open result = self._call_chain(self.handle_open, protocol, protocol + /usr/lib/python3.8/urllib/request.py:502: in _call_chain result = func(*args) /usr/lib/python3.8/urllib/request.py:1397: in https_open return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.4.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) except OSError as err: # timeout error > raise URLError(err) E urllib.error.URLError: /usr/lib/python3.8/urllib/request.py:1357: URLError ____________________________ test_https_wrong_cert _____________________________ [gw4] linux -- Python 3.8.10 /usr/bin/python3 def test_https_wrong_cert(): # Wrong certificate: different user's certificate with pytest.raises(Exception) as err: execute_query_https("SELECT currentUser()", user="john", cert_name="client2") > assert "HTTP Error 403" in str(err.value) E AssertionError: assert 'HTTP Error 403' in '' E + where '' = str(URLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))) E + where URLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')) = .value test_tlsv1_3/test.py:89: AssertionError ---------------------------- Captured log teardown ----------------------------- 2024-03-19 18:15:37 [ 406 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env', '--project-name', 'roottesttlsv13', '--file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/docker-compose.yml', 'stop', '--timeout', '20'] (cluster.py:97, run_and_check) 2024-03-19 18:15:39 [ 406 ] DEBUG : Stderr:Stopping roottesttlsv13_node_1 ... (cluster.py:107, run_and_check) 2024-03-19 18:15:39 [ 406 ] DEBUG : Stderr:Stopping roottesttlsv13_node_1 ... done (cluster.py:107, run_and_check) 2024-03-19 18:15:39 [ 406 ] DEBUG : Command:['bash', '-c', '[ -f /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/logs/stderr.log* || true'] (cluster.py:97, run_and_check) 2024-03-19 18:15:39 [ 406 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env', '--project-name', 'roottesttlsv13', '--file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/docker-compose.yml', 'down', '--volumes'] (cluster.py:97, run_and_check) 2024-03-19 18:15:40 [ 406 ] DEBUG : Stderr:Removing roottesttlsv13_node_1 ... (cluster.py:107, run_and_check) 2024-03-19 18:15:40 [ 406 ] DEBUG : Stderr:Removing roottesttlsv13_node_1 ... done (cluster.py:107, run_and_check) 2024-03-19 18:15:40 [ 406 ] DEBUG : Stderr:Removing network roottesttlsv13_default (cluster.py:107, run_and_check) 2024-03-19 18:15:40 [ 406 ] DEBUG : Cleanup called (cluster.py:654, cleanup) 2024-03-19 18:15:40 [ 406 ] DEBUG : Docker networks for project roottesttlsv13 are NETWORK ID NAME DRIVER SCOPE (cluster.py:633, print_all_docker_pieces) 2024-03-19 18:15:40 [ 406 ] DEBUG : Docker containers for project roottesttlsv13 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:641, print_all_docker_pieces) 2024-03-19 18:15:40 [ 406 ] DEBUG : Docker volumes for project roottesttlsv13 are DRIVER VOLUME NAME (cluster.py:649, print_all_docker_pieces) 2024-03-19 18:15:40 [ 406 ] DEBUG : Command:docker container list --all --filter name='^/roottesttlsv13_.*_1$' --format '{{.ID}}:{{.Names}}' (cluster.py:97, run_and_check) 2024-03-19 18:15:40 [ 406 ] DEBUG : Unstopped containers: {} (cluster.py:668, cleanup) 2024-03-19 18:15:40 [ 406 ] DEBUG : No running containers for project: roottesttlsv13 (cluster.py:682, cleanup) 2024-03-19 18:15:40 [ 406 ] DEBUG : Trying to prune unused networks... (cluster.py:688, cleanup) 2024-03-19 18:15:40 [ 406 ] DEBUG : Trying to prune unused images... (cluster.py:704, cleanup) 2024-03-19 18:15:40 [ 406 ] DEBUG : Command:['docker', 'image', 'prune', '-f'] (cluster.py:97, run_and_check) 2024-03-19 18:15:40 [ 406 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:105, run_and_check) 2024-03-19 18:15:40 [ 406 ] DEBUG : Images pruned (cluster.py:707, cleanup) 2024-03-19 18:15:40 [ 406 ] DEBUG : Trying to prune unused volumes... (cluster.py:713, cleanup) 2024-03-19 18:15:40 [ 406 ] DEBUG : Command:['docker volume ls | wc -l'] (cluster.py:97, run_and_check) 2024-03-19 18:15:40 [ 406 ] DEBUG : Stdout:1 (cluster.py:105, run_and_check) ============================== slowest durations =============================== 41.80s call test_storage_s3/test.py::test_schema_inference_cache 36.06s setup test_storage_s3/test.py::test_create_new_files_on_insert 30.96s setup test_zookeeper_config/test.py::test_chroot_with_different_root 26.02s call test_storage_s3/test.py::test_put_with_zero_redirect 25.90s call test_storage_s3/test.py::test_infinite_redirect 23.37s teardown test_storage_s3/test.py::test_wrong_s3_syntax 22.19s call test_storage_s3/test.py::test_s3_glob_scheherazade 21.34s call test_storage_s3/test.py::test_put_get_with_globs 21.06s setup test_system_metrics/test.py::test_metrics_storage_buffer_size 16.88s setup test_storage_url/test.py::test_file_formats[CSV] 16.61s setup test_system_logs_comment/test.py::test_system_logs_comment 16.51s setup test_tcp_handler_http_responses/test_case.py::test_request_to_http_full_instance 16.50s setup test_structured_logging_json/test.py::test_structured_logging_json_format 15.58s setup test_tlsv1_3/test.py::test_create_user 15.44s setup test_timezone_config/test.py::test_check_timezone_config 14.72s teardown test_zookeeper_config/test.py::test_chroot_with_same_root 10.49s call test_storage_s3/test.py::test_s3_schema_inference 10.17s teardown test_system_metrics/test.py::test_metrics_storage_buffer_size 7.85s call test_storage_s3/test.py::test_s3_list_objects_failure 6.94s call test_storage_s3/test.py::test_select_columns 5.75s call test_system_logs_comment/test.py::test_system_logs_comment 5.72s call test_storage_s3/test.py::test_parallel_reading_with_memory_limit 4.96s call test_storage_s3/test.py::test_seekable_formats 4.14s teardown test_storage_url/test.py::test_table_function_url_access_rights 3.99s call test_storage_s3/test.py::test_seekable_formats_url 3.65s teardown test_timezone_config/test.py::test_overflow_toDateTime 3.63s call test_storage_s3/test.py::test_storage_s3_get_unstable 3.63s teardown test_tlsv1_3/test.py::test_https_wrong_cert 3.59s teardown test_structured_logging_json/test.py::test_structured_logging_json_format 3.54s call test_storage_url/test.py::test_file_formats[Parquet] 3.52s teardown test_tcp_handler_http_responses/test_case.py::test_request_to_http_less_instance 3.06s call test_zookeeper_config/test.py::test_chroot_with_same_root 2.83s call test_storage_url/test.py::test_file_formats[JSONEachRow] 2.81s call test_storage_s3/test.py::test_multipart[positive] 2.62s call test_storage_s3/test.py::test_create_new_files_on_insert 2.60s call test_storage_s3/test.py::test_schema_inference_from_globs 2.15s call test_zookeeper_config/test.py::test_chroot_with_different_root 2.05s call test_storage_s3/test.py::test_format_detection 2.01s call test_system_metrics/test.py::test_metrics_storage_buffer_size 1.92s call test_storage_url/test.py::test_table_function_url_access_rights 1.87s teardown test_system_logs_comment/test.py::test_system_logs_comment 1.73s call test_storage_s3/test.py::test_custom_auth_headers 1.71s call test_storage_s3/test.py::test_multipart[negative] 1.68s call test_storage_url/test.py::test_file_formats[TSV] 1.61s call test_storage_s3/test.py::test_signatures 1.46s call test_storage_s3/test.py::test_predefined_connection_configuration 1.28s call test_storage_url/test.py::test_file_formats[CSV] 1.22s call test_storage_s3/test.py::test_overwrite 0.98s call test_timezone_config/test.py::test_overflow_toDateTime 0.95s call test_structured_logging_json/test.py::test_structured_logging_json_format 0.95s call test_storage_s3/test.py::test_truncate_table 0.88s call test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort 0.83s call test_storage_s3/test.py::test_empty_put[minio] 0.81s call test_timezone_config/test.py::test_overflow_toDate32 0.80s call test_storage_s3/test.py::test_storage_s3_get_gzip[gz] 0.74s call test_storage_s3/test.py::test_wrong_format_usage 0.74s call test_storage_s3/test.py::test_storage_s3_get_gzip[bin] 0.71s call test_storage_s3/test.py::test_environment_credentials 0.67s call test_storage_s3/test.py::test_storage_s3_put_gzip[gz] 0.67s call test_storage_s3/test.py::test_storage_s3_put_gzip[bin] 0.66s call test_timezone_config/test.py::test_overflow_toDate 0.62s call test_storage_s3/test.py::test_partition_by 0.62s call test_storage_s3/test.py::test_get_file_with_special[space] 0.62s call test_storage_s3/test.py::test_storage_s3_put_uncompressed 0.61s call test_storage_s3/test.py::test_insert_select_schema_inference 0.61s call test_storage_url/test.py::test_partition_by 0.56s call test_storage_s3/test.py::test_get_file_with_special[plus] 0.44s call test_storage_s3/test.py::test_wrong_s3_syntax 0.44s call test_storage_s3/test.py::test_remote_host_filter 0.39s call test_storage_s3/test.py::test_put_get_with_redirect 0.31s call test_tcp_handler_http_responses/test_case.py::test_request_to_http_full_instance 0.27s call test_storage_s3/test.py::test_insert_with_path_with_globs 0.23s call test_storage_s3/test.py::test_partition_by_string_column 0.23s call test_storage_s3/test.py::test_empty_file 0.22s call test_storage_s3/test.py::test_partition_by_const_column 0.22s call test_storage_s3/test.py::test_put_csv[positive] 0.22s call test_storage_s3/test.py::test_put[auth_positive] 0.22s call test_storage_s3/test.py::test_put_csv[auth_positive] 0.22s call test_storage_s3/test.py::test_put[auto] 0.22s call test_timezone_config/test.py::test_check_timezone_config 0.22s call test_storage_s3/test.py::test_get_path_with_special[plus2] 0.22s call test_storage_s3/test.py::test_custom_auth_headers_exclusion 0.22s call test_storage_s3/test.py::test_put[gzip] 0.22s call test_storage_s3/test.py::test_put_csv[negative] 0.22s call test_storage_s3/test.py::test_put[deflate] 0.18s call test_tlsv1_3/test.py::test_create_user 0.17s call test_storage_s3/test.py::test_put[positive] 0.17s call test_storage_s3/test.py::test_get_path_with_special[space] 0.17s call test_storage_s3/test.py::test_put[brotli] 0.17s call test_storage_s3/test.py::test_put[xz] 0.17s call test_storage_s3/test.py::test_get_path_with_special[plus] 0.17s call test_storage_s3/test.py::test_put[zstd] 0.01s setup test_storage_url/test.py::test_file_formats[TSV] 0.00s call test_tlsv1_3/test.py::test_https_wrong_cert 0.00s call test_tcp_handler_http_responses/test_case.py::test_request_to_http_less_instance 0.00s call test_tlsv1_3/test.py::test_https 0.00s teardown test_storage_s3/test.py::test_s3_glob_scheherazade 0.00s call test_tlsv1_3/test.py::test_https_non_ssl_auth 0.00s teardown test_zookeeper_config/test.py::test_chroot_with_different_root 0.00s teardown test_storage_s3/test.py::test_create_new_files_on_insert 0.00s setup test_storage_s3/test.py::test_storage_s3_get_gzip[bin] 0.00s setup test_storage_s3/test.py::test_put[auto] 0.00s setup test_storage_s3/test.py::test_storage_s3_put_gzip[gz] 0.00s setup test_storage_s3/test.py::test_put_csv[positive] 0.00s setup test_storage_s3/test.py::test_storage_s3_get_gzip[gz] 0.00s setup test_storage_s3/test.py::test_put[auth_positive] 0.00s setup test_storage_s3/test.py::test_put[zstd] 0.00s teardown test_storage_url/test.py::test_file_formats[CSV] 0.00s setup test_storage_s3/test.py::test_storage_s3_put_gzip[bin] 0.00s setup test_storage_s3/test.py::test_empty_put[minio] 0.00s setup test_storage_s3/test.py::test_multipart[negative] 0.00s setup test_storage_s3/test.py::test_wrong_s3_syntax 0.00s setup test_storage_s3/test.py::test_put[brotli] 0.00s setup test_storage_s3/test.py::test_put[deflate] 0.00s setup test_storage_s3/test.py::test_put[gzip] 0.00s teardown test_storage_s3/test.py::test_schema_inference_cache 0.00s setup test_storage_s3/test.py::test_s3_glob_scheherazade 0.00s setup test_storage_s3/test.py::test_get_path_with_special[plus] 0.00s setup test_storage_s3/test.py::test_put[positive] 0.00s teardown test_storage_s3/test.py::test_put[xz] 0.00s teardown test_storage_s3/test.py::test_select_columns 0.00s teardown test_storage_s3/test.py::test_partition_by_string_column 0.00s teardown test_storage_s3/test.py::test_put_get_with_globs 0.00s setup test_storage_s3/test.py::test_put[xz] 0.00s setup test_storage_s3/test.py::test_multipart[positive] 0.00s teardown test_storage_s3/test.py::test_remote_host_filter 0.00s setup test_storage_s3/test.py::test_schema_inference_from_globs 0.00s teardown test_timezone_config/test.py::test_check_timezone_config 0.00s setup test_storage_s3/test.py::test_put_csv[negative] 0.00s setup test_storage_s3/test.py::test_format_detection 0.00s setup test_storage_s3/test.py::test_get_file_with_special[plus] 0.00s teardown test_storage_s3/test.py::test_predefined_connection_configuration 0.00s teardown test_storage_s3/test.py::test_custom_auth_headers 0.00s setup test_storage_s3/test.py::test_put_csv[auth_positive] 0.00s teardown test_storage_s3/test.py::test_storage_s3_get_gzip[gz] 0.00s setup test_timezone_config/test.py::test_overflow_toDate 0.00s setup test_storage_s3/test.py::test_seekable_formats_url 0.00s teardown test_storage_s3/test.py::test_storage_s3_get_gzip[bin] 0.00s teardown test_storage_s3/test.py::test_put[brotli] 0.00s setup test_timezone_config/test.py::test_overflow_toDateTime 0.00s setup test_storage_url/test.py::test_file_formats[Parquet] 0.00s setup test_storage_s3/test.py::test_get_file_with_special[space] 0.00s setup test_storage_s3/test.py::test_infinite_redirect 0.00s setup test_storage_s3/test.py::test_storage_s3_put_uncompressed 0.00s teardown test_storage_s3/test.py::test_seekable_formats 0.00s teardown test_storage_s3/test.py::test_environment_credentials 0.00s teardown test_storage_s3/test.py::test_put_csv[positive] 0.00s teardown test_tlsv1_3/test.py::test_create_user 0.00s teardown test_storage_s3/test.py::test_get_path_with_special[space] 0.00s teardown test_storage_s3/test.py::test_parallel_reading_with_memory_limit 0.00s setup test_storage_s3/test.py::test_insert_select_schema_inference 0.00s teardown test_storage_s3/test.py::test_schema_inference_from_globs 0.00s setup test_storage_s3/test.py::test_wrong_format_usage 0.00s setup test_storage_s3/test.py::test_get_path_with_special[plus2] 0.00s teardown test_storage_s3/test.py::test_put[auth_positive] 0.00s teardown test_storage_s3/test.py::test_format_detection 0.00s setup test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort 0.00s setup test_storage_s3/test.py::test_signatures 0.00s setup test_timezone_config/test.py::test_overflow_toDate32 0.00s setup test_storage_s3/test.py::test_get_path_with_special[space] 0.00s setup test_storage_s3/test.py::test_schema_inference_cache 0.00s setup test_storage_s3/test.py::test_seekable_formats 0.00s teardown test_storage_url/test.py::test_file_formats[Parquet] 0.00s teardown test_storage_s3/test.py::test_partition_by_const_column 0.00s teardown test_storage_s3/test.py::test_put_get_with_redirect 0.00s setup test_storage_s3/test.py::test_overwrite 0.00s teardown test_storage_url/test.py::test_file_formats[JSONEachRow] 0.00s teardown test_storage_s3/test.py::test_storage_s3_put_gzip[bin] 0.00s teardown test_storage_s3/test.py::test_s3_list_objects_failure 0.00s teardown test_storage_s3/test.py::test_put[gzip] 0.00s teardown test_storage_s3/test.py::test_put[deflate] 0.00s teardown test_storage_s3/test.py::test_put[positive] 0.00s setup test_zookeeper_config/test.py::test_chroot_with_same_root 0.00s teardown test_storage_s3/test.py::test_put_csv[negative] 0.00s setup test_storage_s3/test.py::test_s3_list_objects_failure 0.00s setup test_storage_s3/test.py::test_put_get_with_globs 0.00s setup test_storage_url/test.py::test_file_formats[JSONEachRow] 0.00s teardown test_storage_s3/test.py::test_truncate_table 0.00s teardown test_storage_s3/test.py::test_put[auto] 0.00s teardown test_storage_s3/test.py::test_put[zstd] 0.00s setup test_storage_s3/test.py::test_environment_credentials 0.00s setup test_storage_s3/test.py::test_put_get_with_redirect 0.00s teardown test_storage_s3/test.py::test_empty_file 0.00s teardown test_storage_s3/test.py::test_partition_by 0.00s setup test_storage_s3/test.py::test_predefined_connection_configuration 0.00s teardown test_storage_s3/test.py::test_multipart[positive] 0.00s setup test_storage_s3/test.py::test_partition_by_const_column 0.00s teardown test_storage_s3/test.py::test_insert_with_path_with_globs 0.00s teardown test_storage_s3/test.py::test_get_file_with_special[plus] 0.00s teardown test_storage_s3/test.py::test_custom_auth_headers_exclusion 0.00s teardown test_storage_s3/test.py::test_get_path_with_special[plus] 0.00s teardown test_storage_s3/test.py::test_infinite_redirect 0.00s setup test_storage_s3/test.py::test_empty_file 0.00s teardown test_timezone_config/test.py::test_overflow_toDate32 0.00s teardown test_timezone_config/test.py::test_overflow_toDate 0.00s setup test_storage_s3/test.py::test_put_with_zero_redirect 0.00s setup test_storage_s3/test.py::test_parallel_reading_with_memory_limit 0.00s setup test_storage_s3/test.py::test_partition_by 0.00s teardown test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort 0.00s teardown test_storage_s3/test.py::test_put_csv[auth_positive] 0.00s teardown test_storage_s3/test.py::test_empty_put[minio] 0.00s teardown test_storage_s3/test.py::test_s3_schema_inference 0.00s teardown test_storage_s3/test.py::test_storage_s3_put_gzip[gz] 0.00s teardown test_storage_s3/test.py::test_storage_s3_get_unstable 0.00s teardown test_storage_url/test.py::test_partition_by 0.00s teardown test_storage_url/test.py::test_file_formats[TSV] 0.00s teardown test_storage_s3/test.py::test_multipart[negative] 0.00s setup test_storage_s3/test.py::test_custom_auth_headers_exclusion 0.00s teardown test_tlsv1_3/test.py::test_https 0.00s setup test_storage_url/test.py::test_table_function_url_access_rights 0.00s setup test_storage_url/test.py::test_partition_by 0.00s setup test_storage_s3/test.py::test_s3_schema_inference 0.00s teardown test_tcp_handler_http_responses/test_case.py::test_request_to_http_full_instance 0.00s setup test_storage_s3/test.py::test_custom_auth_headers 0.00s setup test_storage_s3/test.py::test_select_columns 0.00s teardown test_tlsv1_3/test.py::test_https_non_ssl_auth 0.00s setup test_tlsv1_3/test.py::test_https 0.00s teardown test_storage_s3/test.py::test_get_path_with_special[plus2] 0.00s setup test_storage_s3/test.py::test_partition_by_string_column 0.00s teardown test_storage_s3/test.py::test_signatures 0.00s setup test_storage_s3/test.py::test_truncate_table 0.00s teardown test_storage_s3/test.py::test_wrong_format_usage 0.00s setup test_storage_s3/test.py::test_insert_with_path_with_globs 0.00s teardown test_storage_s3/test.py::test_get_file_with_special[space] 0.00s setup test_tcp_handler_http_responses/test_case.py::test_request_to_http_less_instance 0.00s setup test_storage_s3/test.py::test_storage_s3_get_unstable 0.00s teardown test_storage_s3/test.py::test_insert_select_schema_inference 0.00s setup test_tlsv1_3/test.py::test_https_non_ssl_auth 0.00s setup test_tlsv1_3/test.py::test_https_wrong_cert 0.00s teardown test_storage_s3/test.py::test_put_with_zero_redirect 0.00s teardown test_storage_s3/test.py::test_seekable_formats_url 0.00s setup test_storage_s3/test.py::test_remote_host_filter 0.00s teardown test_storage_s3/test.py::test_overwrite 0.00s teardown test_storage_s3/test.py::test_storage_s3_put_uncompressed =========================== short test summary info ============================ FAILED test_tlsv1_3/test.py::test_create_user - urllib.error.URLError: subprocess.check_call(cmd, shell=True) File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'docker run --rm --name clickhouse_integration_tests_bhys94 --privileged --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-odbc-bridge:/clickhouse-odbc-bridge --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-library-bridge:/clickhouse-library-bridge --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/src/Server/grpc_protos:/ClickHouse/src/Server/grpc_protos --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e XTABLES_LOCKFILE=/run/host/xtables.lock -e PYTHONUNBUFFERED=1 -e DOCKER_DOTNET_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_HELPER_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_BASE_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_KERBERIZED_HADOOP_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_KERBEROS_KDC_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_JAVA_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_JS_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_PHP_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e PYTEST_OPTS='--dist=loadfile -n 10 -rfEps --run-id=0 --color=no --durations=0 test_storage_s3/test.py::test_create_new_files_on_insert test_storage_s3/test.py::test_custom_auth_headers test_storage_s3/test.py::test_custom_auth_headers_exclusion test_storage_s3/test.py::test_empty_file test_storage_s3/test.py::test_empty_put[minio] test_storage_s3/test.py::test_environment_credentials test_storage_s3/test.py::test_format_detection test_storage_s3/test.py::test_get_file_with_special[plus] test_storage_s3/test.py::test_get_file_with_special[space] test_storage_s3/test.py::test_get_path_with_special[plus2] test_storage_s3/test.py::test_get_path_with_special[plus] test_storage_s3/test.py::test_get_path_with_special[space] test_storage_s3/test.py::test_infinite_redirect test_storage_s3/test.py::test_insert_select_schema_inference test_storage_s3/test.py::test_insert_with_path_with_globs test_storage_s3/test.py::test_multipart[negative] test_storage_s3/test.py::test_multipart[positive] test_storage_s3/test.py::test_overwrite test_storage_s3/test.py::test_parallel_reading_with_memory_limit test_storage_s3/test.py::test_partition_by test_storage_s3/test.py::test_partition_by_const_column test_storage_s3/test.py::test_partition_by_string_column test_storage_s3/test.py::test_predefined_connection_configuration test_storage_s3/test.py::test_put[auth_positive] test_storage_s3/test.py::test_put[auto] test_storage_s3/test.py::test_put[brotli] test_storage_s3/test.py::test_put[deflate] test_storage_s3/test.py::test_put[gzip] test_storage_s3/test.py::test_put[positive] test_storage_s3/test.py::test_put[xz] test_storage_s3/test.py::test_put[zstd] test_storage_s3/test.py::test_put_csv[auth_positive] test_storage_s3/test.py::test_put_csv[negative] test_storage_s3/test.py::test_put_csv[positive] test_storage_s3/test.py::test_put_get_with_globs test_storage_s3/test.py::test_put_get_with_redirect test_storage_s3/test.py::test_put_with_zero_redirect test_storage_s3/test.py::test_remote_host_filter test_storage_s3/test.py::test_s3_glob_scheherazade test_storage_s3/test.py::test_s3_list_objects_failure test_storage_s3/test.py::test_s3_schema_inference test_storage_s3/test.py::test_schema_inference_cache test_storage_s3/test.py::test_schema_inference_from_globs test_storage_s3/test.py::test_seekable_formats test_storage_s3/test.py::test_seekable_formats_url test_storage_s3/test.py::test_select_columns test_storage_s3/test.py::test_signatures test_storage_s3/test.py::test_storage_s3_get_gzip[bin] test_storage_s3/test.py::test_storage_s3_get_gzip[gz] test_storage_s3/test.py::test_storage_s3_get_unstable test_storage_s3/test.py::test_storage_s3_put_gzip[bin] test_storage_s3/test.py::test_storage_s3_put_gzip[gz] test_storage_s3/test.py::test_storage_s3_put_uncompressed test_storage_s3/test.py::test_truncate_table test_storage_s3/test.py::test_wrong_format_usage test_storage_s3/test.py::test_wrong_s3_syntax test_storage_url/test.py::test_file_formats[CSV] test_storage_url/test.py::test_file_formats[JSONEachRow] test_storage_url/test.py::test_file_formats[Parquet] test_storage_url/test.py::test_file_formats[TSV] test_storage_url/test.py::test_partition_by test_storage_url/test.py::test_table_function_url_access_rights test_structured_logging_json/test.py::test_structured_logging_json_format test_system_logs_comment/test.py::test_system_logs_comment test_system_metrics/test.py::test_metrics_storage_buffer_size test_tcp_handler_http_responses/test_case.py::test_request_to_http_full_instance test_tcp_handler_http_responses/test_case.py::test_request_to_http_less_instance test_timezone_config/test.py::test_check_timezone_config test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort test_timezone_config/test.py::test_overflow_toDate test_timezone_config/test.py::test_overflow_toDate32 test_timezone_config/test.py::test_overflow_toDateTime test_tlsv1_3/test.py::test_create_user test_tlsv1_3/test.py::test_https test_tlsv1_3/test.py::test_https_non_ssl_auth test_tlsv1_3/test.py::test_https_wrong_cert test_zookeeper_config/test.py::test_chroot_with_different_root test_zookeeper_config/test.py::test_chroot_with_same_root -vvv' altinityinfra/integration-tests-runner:0-0a8ac3b092733da37e3e2a0079c486938a36790d ' returned non-zero exit status 1.